<#-- @ftlvariable name="students" type="java.util.ArrayList<model.Student>" -->
<!doctype html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>student_list</title>
</head>
<body>
<h1>
    welcome,${name}</h1>
    <table border="1" cellspacing="0">
        <thead>
        <th>ID</th>
        <th>Name</th>
        <th>Password</th>
        </thead>
        <tbody>
        <#list students as student>
        <tr>
            <td>${student.id}</td>
            <td>${student.name}</td>
            <td>${student.password}</td>
        </tr>
        </#list>
        </tbody>
    </table>

</body>
</html>